lifecycle methods in class components are used to control the behaviour of components during different phases of their lifecycle. However, with the introduction of React Hooks and the Fiber architecture, the concept of lifecycle methods has evolved.
constructor
static getDerivedStateFromProps
render()
componentDidMount()
UNSAFE_componentWillMount()
static getDerivedStateFromProps()
shouldComponentUpdate()
render()
getSnapshotBeforeUpdate()
componentDidUpdate()
UNSAFE_componentWillUpdate()
UNSAFE_componentWillReceiveProps()
componentWillUnmount()
static getDerivedStateFromError()
componentDidCatch()